* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f7f7f7;
    padding: 30px;
}

table.layout {
    border-spacing: 0;
    width: 100%;
}

table.layout td {
    border-top: 1px solid #aaa;
    padding: 1em;
}

table.layout td:first-child, td:last-child {
    width: calc(50% - 500px);
}

table.layout td:nth-child(2) {
    min-width: 150px;
    width: 150px;
    font-size: 1.7em;
    padding-right: 1em;
    padding-top: 1em;
    text-align: right;
    vertical-align: top;
}

table.layout td:nth-child(3) {
    min-width: 400px;
    width: 70%;
}

table.table {
    border-spacing: 0;
    width: 100%;
    border: solid #ccc 1px;
    border-radius: 5px;
    box-shadow: 0 1px 1px #ccc;
}

table.table tr {
    transition: all 150ms ease-in-out;
}

table.table tbody tr:hover {
    background-color: #fcfcfc;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.5);
}

table.table td, table.table th {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 3px 7px;
    text-align: left;
}

table.table th {
    background-color: #dce9f9;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    border-top: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    font-size: 1.2em;
}

table.table td:first-child, table.table th:first-child {
    border-left: none;
}

table.table td:nth-child(2) {
    width: auto;
    max-width: 70%;
    padding-right: 1em;
    padding-top: 5px;
    text-align: left;
    vertical-align: center;
    font-size: 0.8em;
    font-family: Consolas, sans-serif;
}

table.table td:nth-child(3) {
    min-width: 10px;
    width: 10px;
    text-align: center;
}

table.table th:first-child {
    border-radius: 5px 0 0 0;
    max-width: available;
    min-width: 50px;
}

table.table th:last-child {
    border-radius: 0 5px 0 0;
}

table.table tr:first-child td:first-child {
    border-radius: 0 0 0 5px;
}

table.table tr:last-child td:last-child {
    border-radius: 0 0 5px 0;
    min-width: 50px;
}

button {
    transition-duration: 0.4s;
    border: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    padding: 2px 5px;
}

button:hover.delete-button {
    background-color: #f44336;
    color: white;
}

button:hover.option-button {
    background-color: #96b97d;
    color: white;
}

select {
    border: 0;
    font-size: 0.82em;
    background: no-repeat scroll right center transparent;
}

input[type="text"] {
    border: 1px solid #ccc;
    padding: 5px 5px;
    border-radius: 3px;
    width: 99%;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out 200ms, box-shadow ease-in-out 200ms
}

input[type="text"]:focus {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.5)
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    left: 100%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 500ms;
    font-size: 0.8em;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

input[type="checkbox"] + label::before {
    content: "\a0";
    display: inline-block;
    vertical-align: 0.2em;
    width: 0.8em;
    height: 0.8em;
    margin-right: 0.2em;
    border: 1px solid #3091d5;
    border-radius: 3px;
    background-color: #f0f0f0;
    text-indent: 0.1em;
    line-height: 0.65;
}

input[type="checkbox"]:checked + label::before {
    content: "\2713";
    background-color: #2da3d5;
}

input[type="checkbox"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

a {
    color: #4064b5;
    text-decoration: none;
    font-size: 1.2em;
}

p {
    font-size: 1.2em;
    margin-top: 0.75em;
    margin-bottom: 0.75em;
}

strong {
    font-size: 1.2em;
}
